package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.work.WorkApply;
import com.framework.entity.work.WorkTransfer;
import com.framework.entity.work.WorkUntie;

/**
 * 功能描述: 工单接口
 *
 * @author ck
 * @date 2018/8/28 19:46
 */
public interface WorkApplyService extends IService<WorkApply> {

	/**
	 * 增加终端回拨
	 * @param token
	 * @param sns
	 * @param backPhone
	 */
	void insertTerBack(String token,String[] sns,String backPhone);

	/**
	 * 增加终端转移
	 * @param token
	 * @param workBack
	 * @param acceptPhone
	 * @param thisPhone
	 * @param deptId
	 */
	void insertTerTransfer(String token, WorkTransfer workBack, String acceptPhone, String thisPhone, Long deptId);

	/**
	 * 增加终端解绑
	 * @param token
	 * @param workBack
	 */
	void insertTerUntie(String token,WorkUntie workBack);

	/**
	 * 添加终端分配
	 * @param workApply
	 * @param token
	 * @param phone
	 * @param deptId
	 */
	void insertWorkApply(WorkApply workApply, String token, String phone, Long deptId);
}

